package com.example.jm24;

import java.io.File;
import java.util.HashMap;

public class Data {
    String username,id;
    private String url,name,idcard,tel,price,type,area,toward,lease,custome,housename,househost,timeinto,comment,comment_id;
    String introduce;
    float rating;
    public Data(String str) {
        housename = str;
    }
    HashMap data=new HashMap();
    public Data(String housename, String introduce, String url,String name) {
        this.name = name;
        this.url=url;
        this.introduce=introduce;
        this.housename=housename;
        //aIcon = i;
    }
    public Data() {

    }

    public Data(String househost, String timeinto, String comment, String username, String comment_id, String url, Float rating) {
        this.househost=househost;
        this.timeinto=timeinto;
        this.comment=comment;
        this.username=username;
        this.comment_id=comment_id;
        this.url=url;
        this.rating=rating;
    }
    public Float getRating(){return rating;}
    public String getHousehost(){return househost;}
    public String getTimeinto(){return timeinto;}
    public String getComment(){return comment;}

    public void setUrl(String url){
        this.url=url;
    }
    public String getUrl(){
        return url;
    }
    public void setName(String name){
        this.name=name;
    }
    public String getName(){
        return name;
    }
    public void setPrice(String price){
        this.price=price;
    }
    public String getPrice(){
        return price;
    }
    public void setType(String type){
        this.type=type;
    }
    public String getType(){
        return type;
    }
    public void setArea(String area){
        this.area=area;
    }
    public String getArea(){
        return area;
    }
    public void setToward(String toward){
        this.toward=toward;
    }
    public String getToward(){
        return toward;
    }
    public void setIntroduce(String introduce){
        this.introduce=introduce;
    }
    public String getIntroduce() {
        return introduce;
    }
    public void setHousename(String housename){ this.housename=housename; }
    public String getHousename(){
        return housename;
    }
    public String getUsername(){
        return username;
    }

    public void setUsername(String Username){
        this.username=Username;
    }
    public String getId() {
        return id;
    }

    public void setIdcard(String idcard) {this.idcard=idcard;
    }
    public String getIdcard() {
        return idcard;
    }
}
